
module("NetWork.Action.SearchGroupReviewAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

SearchGroupReviewAction = NetCmdActionBase:new()

function SearchGroupReviewAction:Action(bytes)
    local SearchGroupMsgSm = require("Protol.groupMessage_pb").SearchGroupMsgSm()
    SearchGroupMsgSm:ParseFromString(bytes)

    if SearchGroupMsgSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(SearchGroupMsgSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.SearchGroupMsgSm(SearchGroupMsgSm)
end

require("NetWork.NetCmdSet").CmdSet[2007] = SearchGroupReviewAction --注册处理对象